#pragma once
#include<mysql.h>
#include<ctime>
#include<string>
#include<conio.h>
#include<cstdlib>
#include<Windows.h>
#include<iostream>
#include<iomanip>
#include"User.h"
#include"Color.h"
#include"Element.h"

const char user[] = "user";         //username
const char pswd[] = "88888888";         //password
const char host[] = "localhost";    //or"127.0.0.1"
const char table[] = "enwords";        //database
extern unsigned int port;
extern MYSQL mysql;
extern MYSQL_ROW row;
extern MYSQL_RES* result2;
bool connection();
void select(int temp);
void RWD(User& U);		//RWD的核心